package org.dromara.system.domain.bo;

import org.dromara.system.domain.OverhaulInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 风险分析单元停工检修业务对象 overhaul_info
 *
 * @author Lion Li
 * @date 2025-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = OverhaulInfo.class, reverseConvertGenerate = false)
public class OverhaulInfoBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 风险分析对象编码
     */
    private String hazardCode;

    /**
     * 风险分析单元ID
     */
    private Long riskUnitId;

    /**
     * 停用开始时间
     */
    private Date stopStartTime;

    /**
     * 停用结束时间
     */
    private Date stopEndTime;

    /**
     * 停用原因
     */
    private String stopReason;


}
